|
Map algebra is a set-based algebra for manipulating geographic data, proposed by Dr. Dana Tomlin in the early 1980s. It is a set of primitive operations in a geographic information system (GIS) which allows two or more raster layers ("maps") of similar dimensions to produce a new raster layer (map) using algebraic operations such as addition, subtraction etc. Depending on the spatial neighborhood, GIS transformations are categorized into four classes: ''local'', ''focal'', ''global'', and ''zonal''. Local operations works on individual raster cells, or pixels. Focal operations work on cells and their neighbors, whereas global operations work on the entire layer. Finally, zonal operations work on areas of cells that share the same value. The input and output for each operator being map, the operators can be combined into a procedure or script, to perform complex tasks. When map algebra is performed in cells from local operations, different types of operations can be used: -Arithmetic operations uses basic mathematical fuctions like addition, subtraction, multiplication and division. -Statistical operations uses statistical operations such as minimum, maximum, average and median. -Relational operations compares cells using functions such as greater than, smaller than or equal to. -Trigonometric operations uses sine, cosine, tangent, arcsine between two or more raster layers. -Exponential and logarithmic operations use exponent and logarithm functions.〔(【引用サイトリンク】title=Map Algebra-Global, Zonal, Focal and Local Functions )〕 Several major GIS systems use map algebra concepts, including ERDAS Imagine and ArcGIS. ArcGIS 10 implements Map Algebra in Python; functions are imported Python methods and Python's overloading capability〔(【引用サイトリンク】url=https://docs.python.org/2/reference/datamodel.html )〕 is used for operators. (For example, rasters can be multiplied using the " *" arithmetic operator.〔(【引用サイトリンク】first1=Inc. )〕 Here are some examples, in MapBasic: ==External links == * (osGeo-RFC-39 about Layer Algebra ) 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Map algebra」の詳細全文を読む スポンサード リンク
|